home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / applications / 4832 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  909 b 

  1. Path: news.tiac.net!not-for-mail
  2. From: dmeyer@tiac.net (David Meyer)
  3. Newsgroups: comp.sys.amiga.applications
  4. Subject: Re: TurboCalc
  5. Date: 19 Apr 1996 14:16:15 GMT
  6. Organization: The Internet Access Company
  7. Message-ID: <4l877f$eug@news.tiac.net>
  8. References: <w1gu3yg7krl.fsf@isleiv.ifi.uio.no>
  9. NNTP-Posting-Host: sunspot.tiac.net
  10. X-Newsreader: TIN [UNIX 1.3 950726BETA PL0]
  11.  
  12. Uwe Sigurd Valentin Kubosch (uwek@isleiv.ifi.uio.no) wrote:
  13. : I need a field to be calculated as the cumulative sum of another
  14. : field like this:
  15. : Field1    Field2
  16. : 1    1
  17. : 2    3
  18. : 3    6
  19. : 4    10
  20. : Except for a zillion if(;;)'s, is there a way to do this in
  21. : TurboCalc?
  22.     Hmmm, the first part is easy enough: SUM
  23.  
  24.        A       B
  25.     1  1       1
  26.     2  2       3
  27.     3  3       6
  28.  
  29. (you forgot the grid) The formula in B2 should be SUM(A$1:A2). Then copy 
  30. this down the B column. The "A2" will increase by one at every row, the 
  31. "A$1" will stay the same. 
  32.